package com.fwixvye.pojo.rolePack;

import com.fwixvye.pojo.Role;

import java.util.LinkedHashMap;
import java.util.Set;

public class R051迪卢克 extends Role {

    @Override
    public LinkedHashMap<String, Double> singleRoleComputing() {
        LinkedHashMap<String, Double> aMap = new LinkedHashMap<>();
        aMap.put("一段伤害", 1.77);
        aMap.put("二段伤害", 1.73);
        aMap.put("三段伤害", 1.95);
        aMap.put("四段伤害", 2.65);
        aMap.put("重击循环伤害", 1.36);
        aMap.put("重击终结伤害", 2.47);
        aMap.put("下坠期间伤害", 1.77);
        aMap.put("低空坠地冲击伤害", 3.54);
        aMap.put("高空坠地冲击伤害", 4.42);

        LinkedHashMap<String, Double> eMap = new LinkedHashMap<>();
        eMap.put("一段伤害", 1.7);
        eMap.put("二段伤害", 1.76);
        eMap.put("三段伤害", 2.32);


        LinkedHashMap<String, Double> qMap = new LinkedHashMap<>();
        qMap.put("斩击伤害", 3.67);
        qMap.put("持续伤害", 1.08);
        qMap.put("爆裂伤害", 3.67);


        LinkedHashMap<String, Double> tMap = new LinkedHashMap<>();
        Set<String> aSet = aMap.keySet();
        for (String s : aSet) {
            double damage = damageCalculatorZF(aMap.get(s), 15, 15, 19, 0.1, 90, 90);
            tMap.put("A" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> eSet = eMap.keySet();
        for (String s : eSet) {
            double damage = damageCalculatorZF(eMap.get(s), 8, 8, 19, 0.1, 90, 90);
            tMap.put("E" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> qSet = qMap.keySet();
        for (String s : qSet) {
            double damage = damageCalculatorZF(qMap.get(s), 8, 8, 19, 0.1, 90, 90);
            tMap.put("Q" + s, Double.parseDouble(String.format("%.1f", damage)));
        }

        return tMap;
    }
}
